function vote_radio(){
	var isnull = 0;
	var radio_val = $("input[@name=radio][@checked]").val();
	var hidden_voteId = $("#hidden").val();
	var other = $("#other").val();
	var redio_sel = '';
	if(other == ''){
		other = "null";
	}
	$("input[@type=radio][@checked]").each(function(){
		   isnull++;
	});
	if(isnull != 0){
		$.post('/select/radio/vote/'+radio_val+'/'+hidden_voteId+'/'+other, function(data){
					alert(data);
		});
	}else{
		alert("您还没有选择！！！");
	}
}
function vote_checkbox(){
	var und = '';
	var sel = '';
	var select = '';
	var hidden_voteId = $("#hidden").val();
	var other = $("#all_other").val();
	if(other == ''){
		other = "null";
	}
	
	$("input[@type=checkbox][@checked]").each(function(){
			var checks = $(this).val();
			select = $('#'+checks).attr('checked');
			if(select==true){
				sel += $(this).val()+',';
			}
	});
	if(select == true){
		$.post('/select/checkbox/vote/'+sel+'/'+hidden_voteId+'/'+other, function(data){
			alert(data);
		});
	}else {
		alert("您还没有选择！！！");
	}
}